[LegacyColorValue = true]; 

{ TSMCycleChanIndex: Cycle Channel Index
  Copyright 1999, P.J.Kaufman. All rights reserved. }

	inputs: length(20);

	plot1(TSMCycleChanIndex(high,low,close,length),"TSMCCI");